package net.lb.socketserver.exception;

/**
 * 表明读取的数据不完整
 * 
 * @author 林斌
 * 
 */
public class NotIntactDataException extends ServerSocketException
{
    private int needSize;
    
    public NotIntactDataException(int needSize)
    {
        this.needSize = needSize;
    }
    
    /**
     * 
     */
    private static final long serialVersionUID = 1L;
    
    public int getNeedSize()
    {
        return needSize;
    }
}
